class WlzpqzxxesController < ApplicationController
  before_action :set_wlzpqzxx, only: [:show, :edit, :update, :destroy]

  # GET /wlzpqzxxes
  # GET /wlzpqzxxes.json
  def index
    @wlzpqzxxes = Wlzpqzxx.all
  end

  # GET /wlzpqzxxes/1
  # GET /wlzpqzxxes/1.json
  def show
  end

  # GET /wlzpqzxxes/new
  def new
    @wlzpqzxx = Wlzpqzxx.new
  end

  # GET /wlzpqzxxes/1/edit
  def edit
  end

  # POST /wlzpqzxxes
  # POST /wlzpqzxxes.json
  def create
    @wlzpqzxx = Wlzpqzxx.new(wlzpqzxx_params)

    respond_to do |format|
      if @wlzpqzxx.save
        format.html { redirect_to @wlzpqzxx, notice: 'Wlzpqzxx was successfully created.' }
        format.json { render :show, status: :created, location: @wlzpqzxx }
      else
        format.html { render :new }
        format.json { render json: @wlzpqzxx.errors, status: :unprocessable_entity }
      end
    end
  end

  # PATCH/PUT /wlzpqzxxes/1
  # PATCH/PUT /wlzpqzxxes/1.json
  def update
    respond_to do |format|
      if @wlzpqzxx.update(wlzpqzxx_params)
        format.html { redirect_to @wlzpqzxx, notice: 'Wlzpqzxx was successfully updated.' }
        format.json { render :show, status: :ok, location: @wlzpqzxx }
      else
        format.html { render :edit }
        format.json { render json: @wlzpqzxx.errors, status: :unprocessable_entity }
      end
    end
  end

  # DELETE /wlzpqzxxes/1
  # DELETE /wlzpqzxxes/1.json
  def destroy
    @wlzpqzxx.destroy
    respond_to do |format|
      format.html { redirect_to wlzpqzxxes_url }
      format.json { head :no_content }
    end
  end

  private
    # Use callbacks to share common setup or constraints between actions.
    def set_wlzpqzxx
      @wlzpqzxx = Wlzpqzxx.find(params[:id])
    end

    # Never trust parameters from the scary internet, only allow the white list through.
    def wlzpqzxx_params
      params.require(:wlzpqzxx).permit(:BT, :SSDQ, :XXNR, :LXR, :QQ, :EMAIL, :LXDH, :XB, :XL, :ZY, :XXLY, :XXFBSJ, :WZ, :SJCJDW, :SJCJDWDM, :BZ)
    end
end
